/*
 * BaseTaskLogMapper.java
 * 2020-08-19 Created
 */
package org.springblade.task.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springblade.task.base.entity.BaseTaskLog;
import org.springblade.task.base.param.BaseTaskLogParam;

import java.util.List;

public interface BaseTaskLogMapper extends BaseMapper<BaseTaskLog> {
	int deleteByPrimaryKey(int id);

	int insert(BaseTaskLog record);

	public List<BaseTaskLog> queryGroupByTaskNameActivityLog(BaseTaskLogParam param);

	public List<BaseTaskLog> queryActivityLog(BaseTaskLogParam param);

	public List<BaseTaskLog> queryByDateForReport(BaseTaskLogParam param);

	public void saveBaseTaskLogYear(BaseTaskLogParam logParam);
}
